package com.dhl.visitor.result;

import com.dhl.visitor.Action;
import com.dhl.visitor.evaluating.Man;
import com.dhl.visitor.evaluating.Woman;

/**
 * @title: Success
 * @Author danghailiang
 * @Date: 2022/8/20 13:12
 * @Version 1.0
 */
// 成功结果
public class Success extends Action {
    @Override
    public void getManResult(Man man) {
        System.out.println("这个男人给的评价是成功");
    }

    @Override
    public void getWomanResult(Woman Woman) {
        System.out.println("这个女人给的评价是成功");
    }
}
